By throwing a NotSupportedException, this inversion control method handles the request to transfer properties from an entity created out of the Linq to SQL data context to its equivalent inside that context.

Namespace: Keystone.Carbonite.Linq
Assembly: Keystone.Carbonite.Linq (in Keystone.Carbonite.Linq.dll)

protected virtual void OnTransferProperties( 
TEntity sourceEntity
TEntity destinationEntity 
)
This language is not supported or no code example is available.

Parameters

sourceEntity

Type: TEntity

The source entity.

destinationEntity

Type: TEntity

The destination entity.

Exception type Condition

NotSupportedException

Update entities created out of the current data context is not supported.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono